package com.jnu.keepaccounts.data;

import java.io.Serializable;
import java.util.Date;

public class DataZhuanZhang extends Data implements Serializable {
    private String in;
    private String out;
    private double money;
    public DataZhuanZhang(int flag,int year,int month,int day,String in,String out,double money,long date){
        super(flag,year,month,day,date);
        this.in = in;
        this.out = out;
        this.money = money;
    }

    public double getMoney(){
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getIn() {
        return in;
    }

    public String getOut() {
        return out;
    }

    @Override
    public int getDay() {
        return super.getDay();
    }

    @Override
    public int getMonth() {
        return super.getMonth();
    }

    @Override
    public int getYear() {
        return super.getYear();
    }

    @Override
    public int getFlag() {
        return super.getFlag();
    }

    @Override
    public void setFlag(int flag) {
        super.setFlag(flag);
    }

    @Override
    public void setDay(int day) {
        super.setDay(day);
    }

    @Override
    public void setMonth(int month) {
        super.setMonth(month);
    }

    @Override
    public void setYear(int year) {
        super.setYear(year);
    }

    public void setIn(String in) {
        this.in = in;
    }

    public void setOut(String out) {
        this.out = out;
    }

    public void setDate(long date) {
        super.setDate(date);
    }

    public long getDate() {
        return super.getDate();
    }
}
